package com.wuxi.common.constants;

/**
 * <p>
 *  身份认证相关常量
 * </p>
 */
public class AuthConstants {

    public static final Long EXPIRATION = 1800L;

    public static final String TOKEN_HEADER = "Authorization";
    public static final String TOKEN_PREFIX = "Bearer ";
    public static final String GATEWAY_SIGN = "E-Built-Cloud-Gateway";
    public static final String USER_ACCOUNT_HEADER  = "EBuilt-User-Account";

    public static final String REDIS_KEY_AUTH_TOKEN = "auth:token:";
    public static final String REDIS_KEY_AUTH_USER_DETAIL = "auth:user:detail:";


}
